home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
dev
/
amos
/
ldosv25d.lha
/
ldos_demo
/
examples
/
ldos
/
PowerP.AMOS
/
PowerP.amosSourceCode
Wrap
AMOS Source Code
|
1992-02-25
|
830b
|
39 lines
Amos To Back
A$= Extension_10_01A0("Select a PowerPacked DATA-file",$2+$4+$10+$1000)
Amos To Front
If A$=""
End
End If
L= Extension_10_0182(A$)
Reserve As Work 10,L
Extension_10_0006 1,A$,0
A= Extension_10_0024(1,Start(10),L)
Extension_10_0016 1
If A<>L
Print "FileError!"
End
End If
REAL= Extension_10_024E(Start(10)+L)
Print Extension_10_0202 ;" will need";REAL;" bytes when decrunched"
Reserve As Work 11,REAL
Print "Decrucnhing...."
'Timer=T
Extension_10_025C Start(10),Start(10)+L To Start(11)
'Print Timer-T
'End
Amos To Back
A$= Extension_10_01A0("Select a filename for saving..",$2+$4+$10+$800)
Amos To Front
If A$=""
End
End If
If Exist(A$)
Kill A$
End If
Extension_10_0006 1,A$,1
A= Extension_10_0034(1,Start(11),REAL)
Extension_10_0016 1
If A<>REAL
Print "FileError!"
End
End If